<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 输入一个数字,判断是奇数还是偶数?
        // var num = prompt("输入数字：");

        // console.log(parseInt(num) % 2 === 0);


        // console.log(0/10);
        // console.log(10/0);//在JS当中,分母为0,只能认为无穷接近于0,但是不等于0
    </script>
</body>
</html>